// page/member/about.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
  
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
  
  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {
    var app = getApp()
    var that = this;
    var uid = wx.getStorageSync('uid');
    wx.request({
      url: app.globalData.host + '&g=App&m=User&a=school_intro',
      data: {
        // id: that.data.options.id,
        uid: uid,
        classId: that.data.classId
      },
      header: {
        'content-type': 'application/json'
      },
      success: function (res) {
        console.log(res.data)
        that.setData({
          address: res.data.address,
          email: res.data.email,
          images: res.data.images,
          tel: res.data.tel,
          intro: res.data.intro
        })
      }
    })
  },

})